<template>
  <div class="herd">
      <div class="xqtop">
          <span @click="fun()">&lt;</span>
          <img src="qiaoxiaodong/bgxq1.png" alt="">
          <p>匿名用户</p>
      </div>
    <div class="xqfit">
        <van-swipe @change="onChange">
            <van-swipe-item><img src="qiaoxiaodong/xqbg2.png" alt=""></van-swipe-item>
            <van-swipe-item><img src="qiaoxiaodong/xqbg3.png" alt=""></van-swipe-item>
            <van-swipe-item><img src="qiaoxiaodong/xqbg4.png" alt=""></van-swipe-item>
        </van-swipe>
    </div>
    <div class="xqcon">
        <div class="xqlt">
            <img src="qiaoxiaodong/bgxq5.png" alt="">
        </div>
        <div class="xqrg">
            <h3>【722美甲节】莫兰迪色气质果冻甲</h3>
            <p>南京河狸家旗舰店</p>
            <span>￥ 180</span>
        </div>
    </div>
    <div class="foot">
        <div class="ftlt">
            <img src="qiaoxiaodong/bgxq6.png" alt="">
        </div>
        <div class="ftrg">
            <p>评分 :<span>超出期待</span></p>
            <span>效果:5 服务:5</span>
        </div>
    </div>
    <div class="last">
        <h3>【服务项目】 【福利专享】 美甲4选1</h3>
        <p>美女很准时,修甲也很认真,帮忙挑选的颜色很漂亮,而且会根据甲形帮忙调整修的形状也超级喜欢,棒棒的哦!</p>
    </div>
  </div>
</template>

<script>
import Vue from 'vue';
import { Swipe, SwipeItem } from 'vant';

import { Toast } from 'vant';

Vue.use(Swipe);
Vue.use(SwipeItem);
export default {
    methods: {
    onChange(index) {
      Toast( index);
    },
    fun() {
        this.$router.go(-1)
    }
  },    
}
</script>

<style scoped>
    .xqtop {
        width: 100%;
        height: 1.35rem;
        /* background: red; */
        display: flex;
        align-items: center;
    }
    .xqtop span {
        width: 0.5rem;
        height: 0.5rem;
        font-size: 0.5rem;
        margin-left: 0.2rem;
    }
    .xqtop p {
        font-size: 0.3rem;
        margin-left: 0.2rem;
    }
    .xqfit {
        width: 100%;
        height: 8.25rem;
        /* background: red; */
        border: 1px solid #f4f4f4;
        border-radius: 0.05rem;
    }
    .xqfit img {
        width: 100%;
        height: 8.25rem;
    }
    .xqcon {
        width: 90%;
        height: 2rem;
        margin: 0 auto;
        /* background: red; */
        display: flex;
        align-items: center;
        
    }
    .xqlt img {
        width: 1.4rem;
        height: 1.4rem;
        margin-left: 0.2rem;
    }
    .xqrg h3 {
        font-size: 0.3rem;
    }
    .xqrg p {
        font-size: 0.28rem;
        margin-left: 0.2rem;
        margin-top: 0.2rem;
    }
    .xqrg span {
        font-size: 0.28rem;
        margin-left: 0.2rem;
        margin-top: 0.2rem;
        color: red;
    }
    .foot {
        width: 90%;
        height: 1.45rem;
        margin: 0 auto;
        /* background: red; */
        display: flex;
        align-items: center;
        margin-top: 0.3rem;
    }
    .ftlt img {
        width: 0.9rem;
        height: 0.9rem;
    }
    .ftrg p {
        font-size: 0.28rem;
        margin-left: 0.3rem;
    }
    .ftrg p span {
        color: #cab394;
    }
    .ftrg span {
        font-size: 0.28rem;
        color: #999999;
        margin-left: 0.3rem;
    }
    .last {
        width: 90%;
        height: 1.9rem;
        margin: 0 auto;
        /* background: red; */
    }
    .last h3 {
        font-size: 0.3rem;
    }
    .last p {
        font-size: 0.3rem;
    }
</style>